<?php
require_once $_site->get_viewpath("boss/common/authcheck");
require_once $_site->get_viewpath("mobile/common/header");

$id=request('id',false,true);
//查询账号信息
$boss_objet=new boss();
$wjinfo=$boss_objet->_car_info($id);
?>	
</head>

	<body>
		<div class="headertwo clearfloat" id="header">
			<a href="/boss/car" class="fl box-s"><i class="iconfont icon-arrow-l fl"></i></a>
			<p class="fl">添加挖机</p>
		</div>
		
		<div class="pay clearfloat" id="main">
			
			<div class="land-ctent clearfloat pay-bottom">
			<form action="/handle.php" method="post" id="formedit">
			<input type="hidden" name="h" value="boss/bind">
			<input type="hidden" name="id" value="<?php echo $wjinfo['id'];?>">
				<ul>
					<li class="box-s clearfloat">
						<p class="tit fl">车辆型号</p>
						<input type="text" name="car" value="<?php echo $wjinfo['car'];?>" placeholder="请输入车辆型号" class="fl day" />
					</li>
					<li class="box-s clearfloat">
						<p class="tit fl">车牌号码</p>
						<input type="text" name="carno" value="<?php echo $wjinfo['carno'];?>" placeholder="请输入车牌号码" class="fl day" />
					</li>	
					<li class="box-s clearfloat">
						<p class="tit fl">司机姓名</p>
						<input type="text" name="linkman" value="<?php echo $wjinfo['linkman'];?>" placeholder="请输入司机姓名" class="fl day" />						
					</li>										
					<li class="box-s clearfloat">
						<p class="tit fl">联系电话</p>
						<input type="text" name="phone" value="<?php echo $wjinfo['phone'];?>" placeholder="请输入手机号码" class="fl day" />						
					</li>	
					<li class="box-s clearfloat">
						<p class="tit fl">设备号</p>
						<input type="text" name="code" value="<?php echo $wjinfo['code'];?>" placeholder="请输入绑定的设备号" class="fl day" />						
					</li>																				
				</ul>				
				<button type="button" onclick="ajaxpost('formedit')" class="pay-btn clearfloat">保存设置</button>				
			</form>	
			</div>
		</div>
		
		
		
	</body>

</html>
